package codequity.two.demo29;

public class Client29 {
    public static void main(String[] args) {
        Client29 client29 = new Client29();
        int i = 140;
        //分别传递int类型和Integer类型
        client29.f(i);
        client29.f(Integer.valueOf(i));
    }


    public void f(long a) {
        System.out.println("基本类型的方法被调用");
    }

    public void f(Long a) {
        System.out.println("包装类型的方法被调用");
    }
}
